package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.ClientUser;
import com.ruoyi.system.domain.TmcEmergency;
import com.ruoyi.system.domain.TmcEmergencyAttach;

import java.util.List;

/**
 * 问题回收
Mapper接口
 * 
 * @author ruoyi
 * @date 2021-03-31
 */
public interface TmcEmergencyMapper 
{

    /**
     * 查询问题回收
列表
     * 
     * @param tmcEmergency 问题回收

     * @return 问题回收
集合
     */
    public List<TmcEmergency> selectTmcEmergencyList(TmcEmergency tmcEmergency);



    //返回问题附件路径
    String selectAttach(Long id);
    //上报
    int insertTmcEmergency(TmcEmergency tmcEmergency);
    int updateclientById(TmcEmergency tmcEmergency);
    //上传附件
    int insertTmcEmergencyAttach(TmcEmergencyAttach tmcEmergencyAttach);
    List<TmcEmergencyAttach> selectTmcEmergencyAttachById(Long mid);
    TmcEmergency selectTmcEmergencyById(Long id);
    String queryclientById(Long id);
    List<ClientUser> queryclient();

    String queryUserById(int publicuserId);
}
